rational root theorem synthetic division